#!/usr/bin/python2.6

import os
import sys
import web

app_path = os.path.join(os.path.abspath(os.path.curdir),'ctrl')

sys.path.append(app_path)

import upload

urls = (
        '/photo/upload/?','upload.MyUpload',\
        '/photo/uploadform/?','upload.UploadForm',\
        '/photo/monitor/?','upload.Monitor',\
        '/photo/restupload/?','upload.RestUpload',\
        )

app = web.application(urls,globals())

if __name__ == "__main__":
        app.run()

  